package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.vo.Focus;
import com.ruoyi.system.mapper.focusMapper;
import com.ruoyi.system.service.FocusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FocusServiceImpl implements FocusService {
    @Autowired
    private focusMapper focusMappers;
    @Override
    public int addfocus(Focus focus) {
        return focusMappers.addfocus(focus);
    }

    @Override
    public int delectfocus(Focus focus) {
        return focusMappers.deletefocus(focus);
    }

    @Override
    public List<Focus> selecr(Focus focus) {
        return focusMappers.select(focus);
    }

    @Override
    public List<Focus> selectSkillname( Long focusid) {
        return focusMappers.selectSkillname(focusid);
    }
    @Override
    public Focus selectById(Long userid, Long focusid) {
        return focusMappers.selectById(userid,focusid);
    }
    @Override
    public List<Focus> selectByFocusid(Focus focus){
        return focusMappers.selectByFocusid(focus);
    }
}
